package org.krypsis.gwt.store.example.client.gin;

import org.krypsis.gwt.store.client.StoreBackend;
import org.krypsis.gwt.store.client.backend.LocalStorageBackend;
import com.google.inject.Provider;
import com.google.code.gwt.storage.client.Storage;

public class LocalStoreBackendProvider implements Provider<StoreBackend> {
  public StoreBackend get() {
    return new LocalStorageBackend(Storage.getLocalStorage());
  }
}
